import request from '../utils/request.js'

//获取验证码
export function createdComment(data) {
	return request({
		url: '/comments/insert',
		method: 'post',
		data
	})
}

// 获取评论

export function GetComment(params) {
	return request({
		url: '/comments/all',
		method: 'get',
		params
	})
}
